<?
include("config.php");
?><script language='javascript'>
function inform(){
    alert("User now have completed a purchase from this shop");
    alert("this shop will call a URL from bonus link, passing the information");
    alert("notice that this information was originally passed to the shop (look at the addressbar)");
    alert("unique user token:<?=$_REQUEST['token']?>");
    alert("total amount: $400, commission is $40");
    alert("this information are being passed now to bonus link with the unique shop token");
    alert("this is done for security as each transaction id is generated by originating site, each shop & user have unique -non sequential- identifier & encrypted");
    alert("now moving back to bonus link so you can claim your discount");
    top.location.href = 't.php?t=<?=$_REQUEST['token']?>&uid=<?=md5('souq.com')?>&transid=12329382372&total=400&comm=40&unique=2hspdfjkapsdfuhh';
}
</script>

<span style='font-size: 15px; color:red; font-family: sans-serif; font-weight: bold'>DEMO, Please click anywhere to proceed with check out</span>
<a href='#' onclick='inform()'><img src='images/shot.png'></a>

